#include <iostream>
#include "Caesar.h"
#include "Affine.h"
#include "Virginia.h"
#include "Hill.h"

using namespace std;

int main() {
    int choice = 0;
    while (true) {
//        cout << sizeof(int) << endl;
//        cout << sizeof(long) << endl;
        cout << "------------------------------" << endl;
        cout << "Please choose a cipher method:" << endl;
        cout << "------------------------------" << endl;
        cout << "1. Caesar cipher" << endl;
        cout << "2. Affine cipher" << endl;
        cout << "3. Virginia cipher" << endl;
        cout << "4. Hill cipher" << endl;
        cout << "0. Exit" << endl;
        cout << "------------------------------" << endl;
        cin >> choice;
        switch (choice) {
            case 1: {
                Caesar();
                break;
            }
            case 2: {
                Affine();
                break;
            }
            case 3: {
                Virginia();
                break;
            }
            case 4: {
                Hill();
                break;
            }
            case 0: {
                exit(0);
            }
            default: {
                break;
            }
        }
    }
}
